package com.ybu.pojo.vo;

import lombok.Data;

@Data
public class OrderItemVO {
    private Integer id;
    private Integer productId;
    private String image;
    private String title;
    private Long price;
    private Long num;
    //单价*数量
    private Long totalPrice;
    public Long getTotalPrice() {
        return totalPrice = price * num;
    }
}
